<template>
  <div class="yaoSearchNoKeywords">
    <van-nav-bar title="搜索" left-text="返回" left-arrow @click-left="onClickLeft">
      <template #right>
        <van-search
          v-model="value"
          placeholder="请输入搜索关键词"
          autofocus
          @search="onSearch"
        />
      </template>
    </van-nav-bar>
  </div>
</template>
<script>
export default {
  data() {
    return { value: "" };
  },
  methods: {
    onClickLeft() {
        this.$router.go(-1)
    },
    onSearch() {
      console.log(13);
    },
  },
};
</script>
<style lang="scss"></style>
